package com.um.jdy.platform.shop.controller;

import com.um.jdy.platform.shop.entity.dto.GoodsCategoryListDTO;
import com.um.jdy.platform.shop.entity.dto.GoodsCategoryPageDTO;
import com.um.jdy.platform.shop.entity.vo.GoodsCategoryTreeNode;
import com.um.jdy.platform.shop.manager.GoodsCategoryManager;
import com.um.jdy.platform.shop.service.GoodsCategoryTreeService;
import com.um.jdy.common.shop.entity.po.GoodsCategory;
import com.um.jdy.common.shop.entity.dto.GoodsCategoryDTO;
import com.um.jdy.common.shop.entity.vo.GoodsCategoryVO;
import com.um.springboot.starter.annotation.ApiPermission;
import com.um.springboot.starter.annotation.TokenRequired;
import com.um.springboot.starter.orm.controller.BaseTreePlusController;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

/**
 * 控制器：商品分类表(平台类目)
 */
@RestController
@RequestMapping("/api/v1/cms/shop/goods_category")
@Api(tags = "GoodsCategoryController", description = "商品分类表(平台类目)")
@ApiPermission("goods_category")
@TokenRequired
public class GoodsCategoryController extends BaseTreePlusController<GoodsCategoryManager, GoodsCategoryTreeService, GoodsCategory, GoodsCategoryDTO, GoodsCategoryVO, GoodsCategoryPageDTO, GoodsCategoryListDTO, GoodsCategoryTreeNode> {

}
